<template>
  <div>
    <div class="method" v-for="(item,index) in fetchData" :key="item">
        <h1>步骤{{index+1}}</h1>
        <img :src="item.img" alt="" width="100px" height="100px">
        <p>{{item.describe}}</p>
    </div>
  </div>
</template>

<script>
export default {
    data(){
        return{
            fetchData:[]
        }
    },
created(){
    console.log(this.$route);
    const {query}=this.$route
    
    this.fetchData=query.method
}
}
</script>

<style>

</style>